<?php

/**
 * Information form.
 *
 * @package    emc
 * @subpackage form
 * @author     Your name here
 * @version    SVN: $Id: sfDoctrineFormTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class InformationForm extends BaseInformationForm
{
  public function configure()
  {
	  $this->setWidgets(array(
				'alias'					=>		new sfWidgetFormInput(),
				'content'				=>		new sfWidgetFormTextarea(),
				'is_active'				=>		new sfWidgetFormInputCheckbox(),
			));

	$this->widgetSchema->setNameFormat('information[%s]');
	$this->widgetSchema->setLabels(array(
				'alias'					=>		'Alias',
				'content'				=>		'Nội dung',
				'is_active'				=>		'Khả dụng',
			));
  }
}
